import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/Home.vue'
import Index from '../components/Index.vue'
import Login from '../components/Login.vue'
import Register from '../components/Register.vue'
import CourseList from '../components/course/Course.vue'
import Nt from '../components/course/Nt.vue'
import CWff from '../components/course/nt/Wff.vue'
import CBlockchain from '../components/course/nt/Blockchain.vue'
import CEthereum from '../components/course/nt/Ethereum.vue'
import CAi from '../components/course/nt/Ai.vue'
import CMachine from '../components/course/nt/Machine.vue'
import CDeep from '../components/course/nt/Deep.vue'
import CPcvision from '../components/course/nt/Pcvision.vue'
import CNlp from '../components/course/nt/Nlp.vue'
import CDatafxwj from '../components/course/nt/Datafxwj.vue'
import CFe from '../components/course/Fe.vue'
import CMiniprogram from '../components/course/fe/Miniprogram.vue'
import CHtml from '../components/course/fe/Html.vue'
import CJavascript from '../components/course/fe/Javascript.vue'
import CVuejs from '../components/course/fe/Vuejs.vue'
import CReactjs from '../components/course/fe/Reactjs.vue'
import CAngular from '../components/course/fe/Angular.vue'
import CNodejs from '../components/course/fe/Nodejs.vue'
import CJquery from '../components/course/fe/Jquery.vue'
import CBootstrap from '../components/course/fe/Bootstrap.vue'
import CSassless from '../components/course/fe/Sassless.vue'
import CWebapp from '../components/course/fe/Webapp.vue'
import CFetool from '../components/course/fe/Fetool.vue'
import CHtml5 from '../components/course/fe/Html5.vue'
import CCss3 from '../components/course/fe/Css3.vue'
import CBe from '../components/course/Be.vue'
import CJava from '../components/course/be/Java.vue'
import CSpringboot from '../components/course/be/Springboot.vue'
import CPython from '../components/course/be/Python.vue'
import CCrawler from '../components/course/be/Crawler.vue'
import CDjango from '../components/course/be/Django.vue'
import CTornado from '../components/course/be/Tornado.vue'
import CGo from '../components/course/be/Go.vue'
import CPHP from '../components/course/be/PHP.vue'
import CC from '../components/course/be/C.vue'
import CCplusplus from '../components/course/be/C++.vue'
import CCsharp from '../components/course/be/C#.vue'
import CRuby from '../components/course/be/Ruby.vue'
import CMobile from '../components/course/Mobile.vue'
import CAndroid from '../components/course/mobile/Android.vue'
import CIos from '../components/course/mobile/Ios.vue'
import CReact from '../components/course/mobile/React.vue'
import CWEEX from '../components/course/mobile/WEEX.vue'
import CMath from '../components/course/Math.vue'
import CAlgorithmds from '../components/course/math/Algorithmds.vue'
import CMaths from '../components/course/math/Maths.vue'
import CCb from '../components/course/Cb.vue'
import CBigdata from '../components/course/cb/Bigdata.vue'
import CHadoop from '../components/course/cb/Hadoop.vue'
import CSpark from '../components/course/cb/Spark.vue'
import CHbase from '../components/course/cb/Hbase.vue'
import CStorm from '../components/course/cb/Storm.vue'
import CCloudcomputing from '../components/course/cb/Cloudcomputing.vue'
import CAWS from '../components/course/cb/AWS.vue'
import CDocker from '../components/course/cb/Docker.vue'
import CKubernetes from '../components/course/cb/Kubernetes.vue'
import COp from '../components/course/Op.vue'
import CDba from '../components/course/op/Dba.vue'
import COma from '../components/course/op/Oma.vue'
import CDbatool from '../components/course/op/Dbatool.vue'
import CLinux from '../components/course/op/Linux.vue'
import CTest from '../components/course/op/Test.vue'
import CAqtest from '../components/course/op/Aqtest.vue'
import CGntest from '../components/course/op/Gntest.vue'
import CJktest from '../components/course/op/Jktest.vue'
import CXntest from '../components/course/op/Xntest.vue'
import CZdhtest from '../components/course/op/Zdhtest.vue'
import CData from '../components/course/Data.vue'
import CMysql from '../components/course/data/Mysql.vue'
import CRedis from '../components/course/data/Redis.vue'
import CMongoDB from '../components/course/data/MongoDB.vue'
import COracle from '../components/course/data/Oracle.vue'
import CSQLServer from '../components/course/data/SQLServer.vue'
import CNosql from '../components/course/data/Nosql.vue'
import CUi from '../components/course/Ui.vue'
import CModelmaking from '../components/course/ui/Modelmaking.vue'
import CDxdh from '../components/course/ui/Dxdh.vue'
import CUijc from '../components/course/ui/Uijc.vue'
import CUitool from '../components/course/ui/Uitool.vue'
import CUiapp from '../components/course/ui/Uiapp.vue'
import CIxd from '../components/course/ui/Ixd.vue'
import CGame from '../components/course/Game.vue'
import CUnity3d from '../components/course/game/Unity3d.vue'
import CCocos2dx from '../components/course/game/Cocos2dx.vue'
import CodingList from '../components/coding/CodingList.vue'
import WendaList from '../components/wenda/WendaList.vue'
import ArticleList from '../components/article/ArticleList.vue'
import Information from '../components/article/Information.vue'
import New from '../components/article/New.vue'
import Blockchain from '../components/article/Blockchain.vue'
import Ai from '../components/article/Ai.vue'
import Clouddata from '../components/article/Clouddata.vue'
import Fe from '../components/article/Fe.vue'
import Be from '../components/article/Be.vue'
import Mobile from '../components/article/Mobile.vue'
import Tools from '../components/article/Tools.vue'
import Work from '../components/article/Work.vue'
import Funny from '../components/article/Funny.vue'
import Other from '../components/article/Other.vue'
Vue.use(Router)

export default new Router({
  mode: 'history',
  linkActiveClass: 'active',
  linkExactActiveClass: 'active',
  routes: [
    { path: '/', redirect: '/index' },
    { path: '/home', component: Home },
    { path: '/index', component: Index },
    { path: '/login', component: Login },
    { path: '/register', component: Register },
    { path: '/courselist', component: CourseList },
    { path: '/courselist/nt', component: Nt },
    { path: '/courselist/wff', component: CWff },
    { path: '/courselist/blockchain', component: CBlockchain },
    { path: '/courselist/ethereum', component: CEthereum },
    { path: '/courselist/ai', component: CAi },
    { path: '/courselist/machine', component: CMachine },
    { path: '/courselist/deep', component: CDeep },
    { path: '/courselist/pcvision', component: CPcvision },
    { path: '/courselist/nlp', component: CNlp },
    { path: '/courselist/ethereum', component: CEthereum },
    { path: '/courselist/datafxwj', component: CDatafxwj },
    { path: '/courselist/fe', component: CFe },
    { path: '/courselist/miniprogram', component: CMiniprogram },
    { path: '/courselist/html', component: CHtml },
    { path: '/courselist/javascript', component: CJavascript },
    { path: '/courselist/vuejs', component: CVuejs },
    { path: '/courselist/reactjs', component: CReactjs },
    { path: '/courselist/angular', component: CAngular },
    { path: '/courselist/nodejs', component: CNodejs },
    { path: '/courselist/jquery', component: CJquery },
    { path: '/courselist/bootstrap', component: CBootstrap },
    { path: '/courselist/sassless', component: CSassless },
    { path: '/courselist/webapp', component: CWebapp },
    { path: '/courselist/fetool', component: CFetool },
    { path: '/courselist/html5', component: CHtml5 },
    { path: '/courselist/css3', component: CCss3 },
    { path: '/courselist/be', component: CBe },
    { path: '/courselist/java', component: CJava },
    { path: '/courselist/springboot', component: CSpringboot },
    { path: '/courselist/python', component: CPython },
    { path: '/courselist/crawler', component: CCrawler },
    { path: '/courselist/django', component: CDjango },
    { path: '/courselist/tornado', component: CTornado },
    { path: '/courselist/go', component: CGo },
    { path: '/courselist/php', component: CPHP },
    { path: '/courselist/c', component: CC },
    { path: '/courselist/cplusplus', component: CCplusplus },
    { path: '/courselist/csharp', component: CCsharp },
    { path: '/courselist/ruby', component: CRuby },
    { path: '/courselist/mobile', component: CMobile },
    { path: '/courselist/android', component: CAndroid },
    { path: '/courselist/ios', component: CIos },
    { path: '/courselist/react', component: CReact },
    { path: '/courselist/weex', component: CWEEX },
    { path: '/courselist/math', component: CMath },
    { path: '/courselist/algorithmds', component: CAlgorithmds },
    { path: '/courselist/maths', component: CMaths },
    { path: '/courselist/cb', component: CCb },
    { path: '/courselist/bigdata', component: CBigdata },
    { path: '/courselist/hadoop', component: CHadoop },
    { path: '/courselist/spark', component: CSpark },
    { path: '/courselist/hbase', component: CHbase },
    { path: '/courselist/storm', component: CStorm },
    { path: '/courselist/cloudcomputing', component: CCloudcomputing },
    { path: '/courselist/aws', component: CAWS },
    { path: '/courselist/docker', component: CDocker },
    { path: '/courselist/kubernetes', component: CKubernetes },
    { path: '/courselist/op', component: COp },
    { path: '/courselist/dba', component: CDba },
    { path: '/courselist/oma', component: COma },
    { path: '/courselist/dbatool', component: CDbatool },
    { path: '/courselist/linux', component: CLinux },
    { path: '/courselist/test', component: CTest },
    { path: '/courselist/gntest', component: CGntest },
    { path: '/courselist/xntest', component: CXntest },
    { path: '/courselist/zdhtest', component: CZdhtest },
    { path: '/courselist/jktest', component: CJktest },
    { path: '/courselist/aqtest', component: CAqtest },
    { path: '/courselist/data', component: CData },
    { path: '/courselist/mysql', component: CMysql },
    { path: '/courselist/redis', component: CRedis },
    { path: '/courselist/mongodb', component: CMongoDB },
    { path: '/courselist/oracle', component: COracle },
    { path: '/courselist/sqlserver', component: CSQLServer },
    { path: '/courselist/nosql', component: CNosql },
    { path: '/courselist/ui', component: CUi },
    { path: '/courselist/modelmaking', component: CModelmaking },
    { path: '/courselist/dxdh', component: CDxdh },
    { path: '/courselist/uijc', component: CUijc },
    { path: '/courselist/uitool', component: CUitool },
    { path: '/courselist/uiapp', component: CUiapp },
    { path: '/courselist/ixd', component: CIxd },
    { path: '/courselist/game', component: CGame },
    { path: '/courselist/unity3d', component: CUnity3d },
    { path: '/courselist/cocos2dx', component: CCocos2dx },
    { path: '/codinglist', component: CodingList },
    { path: '/wendalist', component: WendaList },
    { path: '/articlelist', component: ArticleList },
    { path: '/articlelist/information', component: Information },
    { path: '/articlelist/new', component: New },
    { path: '/articlelist/blockchain', component: Blockchain },
    { path: '/articlelist/ai', component: Ai },
    { path: '/articlelist/clouddata', component: Clouddata },
    { path: '/articlelist/fe', component: Fe },
    { path: '/articlelist/be', component: Be },
    { path: '/articlelist/mobile', component: Mobile },
    { path: '/articlelist/tools', component: Tools },
    { path: '/articlelist/work', component: Work },
    { path: '/articlelist/funny', component: Funny },
    { path: '/articlelist/other', component: Other },
    // { 
    //   path: '/articlelist', 
    //   component: ArticleList,
    //   children: [
    //     { path: 'information', component: Information },
    //   ]
    // },
  ]
})
